package io.renren.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 支付宝配置类
 */
@Configuration
@Component
@Data
@ConfigurationProperties(prefix = "alipay")
public class AlipayConfig {
    //请求协议
    private String protocol;
    //请求网关
    private String gateway;

    private String singType;
    //appid
    private String appId;
    //私钥
    private String privateKey;
    //公钥
    private String publicKey;
    //支付宝公钥证书路径
    private String alipayCertPath;
    //支付宝根证书文件路径
    private String alipayRootCertPath;
    //异步回调通知
    private String notifyUrl;
    //设置AES秘钥
    private String encryptKey;

    private String returnUrl;
}
